<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: Administrator
  Date: 2021/11/2
  Time: 14:44
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%--使用sun公司提供的el函数库--%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%--引入自定义的el函数库--%>
<%@ taglib prefix="myFn" uri="/myElFn"%>

<html>
<head>
    <title>Title</title>
</head>
<%
   Date now =new Date();
   pageContext.setAttribute("now",now);

%>
<body>
${fn:length("skdjfkashkfjashkfjhaskjdfhksajhfdk")}

${myFn:dateToString(now)}


</body>
</html>
